<%@page import="org.jeecgframework.web.util.StaticValue"%>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>影厅</title>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<script type="text/javascript" src="plug-in/ckfinder/ckfinder.js"></script>
<script type="text/javascript">
$(function(){
	$("#belongCinemaId_easyuiClear").click(function(){
		$("#belongCinemaId").val("");
		$("#name").val("");
		$("#roomNum").val("").attr("disabled","disabled");
	});
	$("#roomNum").attr({"ajaxurl":"zyRoomController.do?checkRoomNumUnique&roomId=${zyRoomPage.id}&cinemaId="+$("#belongCinemaId").val()});
});
function cinemaChooseBack(){
	$("#roomNum").val("").siblings("span:eq(0)").html("").removeClass("Validform_wrong");
	$("#roomNum").attr({"ajaxurl":"zyRoomController.do?checkRoomNumUnique&roomId=${zyRoomPage.id}&cinemaId="+$("#belongCinemaId").val()}).removeAttr("disabled");
}
</script>
</head>
<body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="zyRoomController.do?doUpdate" tiptype="3">
		<input id="id" name="id" type="hidden" value="${zyRoomPage.id }">
		<input name="isDelete" type="hidden" value="${zyRoomPage.isDelete }">
		<input id="createName" name="createName" type="hidden" value="${zyRoomPage.createName }">
		<input id="createBy" name="createBy" type="hidden" value="${zyRoomPage.createBy }">
		<input id="createDate" name="createDate" type="hidden" value="${zyRoomPage.createDate }">
		<input id="updateName" name="updateName" type="hidden" value="${zyRoomPage.updateName }">
		<input id="updateBy" name="updateBy" type="hidden" value="${zyRoomPage.updateBy }">
		<input id="updateDate" name="updateDate" type="hidden" value="${zyRoomPage.updateDate }">
		<table cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right" style="width: 140px;">
						<label class="Validform_label">
							所属影院:
						</label>
					</td>
					<td class="value" style="width: 400px;">
						<input name="roomCinema.id" type="hidden" id="belongCinemaId" value="${zyRoomPage.roomCinema.id}" >
		                <input name="name" class="inputxt" id="name" value="${zyRoomPage.roomCinema.name}" readonly="readonly" style="width:260px;"/>
<%--		                <t:choose hiddenName="belongCinemaId" hiddenid="id" url="zyCinemaController.do?zyChooseCinemaOfRoom" name="cinemaList" fun="cinemaChooseBack"--%>
<%--		                          icon="icon-search" title="影院列表" textname="name" isclear="true"></t:choose>--%>
					</td>
					<td align="right" style="width: 140px;">
						<label class="Validform_label">
							影厅号:
						</label>
					</td>
					<td class="value" style="width: 400px;">
					    <input id="roomNum" name="roomNum" type="text" style="width: 150px" class="inputxt" datatype="*" value='${zyRoomPage.roomNum}' />
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">影厅号</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							座位数:
						</label>
					</td>
					<td class="value">
					    <input id="seatNum" name="seatNum" type="text" style="width: 150px" class="inputxt" value='${zyRoomPage.seatNum}' />
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">座位数</label>
					</td>
					<td align="right">
						<label class="Validform_label">
							银幕类型:
						</label>
					</td>
					<td class="value">
				     	 <t:dictSelect field="screenType" type="select" typeGroupCode="<%=StaticValue.DIC_SCREEN_TYPE %>"  defaultVal="${zyRoomPage.screenType}"/>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">银幕类型</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							银幕增益:
						</label>
					</td>
					<td class="value">
					     	 <input id="screenPlus" name="screenPlus" type="text" style="width: 150px" class="inputxt"  value='${zyRoomPage.screenPlus}'/>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">银幕增益</label>
					</td>
					<td align="right">
						<label class="Validform_label">
							宽银幕宽:
						</label>
					</td>
					<td class="value">
					     	 <input id="screenWidth" name="screenWidth" type="text" style="width: 150px" class="inputxt"  value='${zyRoomPage.screenWidth}'/>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">宽银幕宽</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							宽银幕高:
						</label>
					</td>
					<td class="value">
					     	 <input id="screenHight" name="screenHight" type="text" style="width: 150px" class="inputxt" value='${zyRoomPage.screenHight}'/>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">宽银幕高</label>
					</td>
					<td align="right">
						<label class="Validform_label">
							遮幅幕宽:
						</label>
					</td>
					<td class="value">
					     	 <input id="curtainWidth" name="curtainWidth" type="text" style="width: 150px" class="inputxt" value='${zyRoomPage.curtainWidth}'/>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">遮幅幕宽</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							遮幅幕高:
						</label>
					</td>
					<td class="value">
					     	 <input id="curtainHight" name="curtainHight" type="text" style="width: 150px" class="inputxt" value='${zyRoomPage.curtainHight}'/>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">遮幅幕高</label>
					</td>
					<td align="right">
						<label class="Validform_label">
							放映距离:
						</label>
					</td>
					<td class="value">
					     	 <input id="showKm" name="showKm" type="text" style="width: 150px" class="inputxt" value='${zyRoomPage.showKm}'/>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">放映距离</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							宽银幕镜头比:
						</label>
					</td>
					<td class="value">
					    <input id="screenLensRatio" name="screenLensRatio" type="text" style="width: 150px" class="inputxt" value='${zyRoomPage.screenLensRatio}'/>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">宽银幕镜头比</label>
					</td>
					<td align="right">
						<label class="Validform_label">
							遮幅镜头比:
						</label>
					</td>
					<td class="value">
					    <input id="curtainLensRatio" name="curtainLensRatio" type="text" style="width: 150px" class="inputxt" value='${zyRoomPage.curtainLensRatio}'/>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">遮幅镜头比</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							放映间特殊情况:
						</label>
					</td>
					<td class="value">
					    <input id="roomSpecialCase" name="roomSpecialCase" type="text" style="width: 150px" class="inputxt"value='${zyRoomPage.roomSpecialCase}'/>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">放映间特殊情况</label>
					</td>
					<td align="right"></td>
					<td class="value"></td>
					<%-- <td align="right">
						<label class="Validform_label">
							是否异常:
						</label>
					</td>
					<td class="value">
						<t:dictSelect field="isNormal" type="select" defaultVal='${zyRoomPage.isNormal}' typeGroupCode="<%=StaticValue.DIC_TRUE_OR_FALSE_NUM %>" ></t:dictSelect>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">是否异常</label>
					</td> --%>
				</tr>
				<%-- <tr>
					<td align="right">
						<label class="Validform_label">
							异常原因:
						</label>
					</td>
					<td class="value">
					     	 <input id="exceptionReason" name="exceptionReason" type="text" style="width: 150px" class="inputxt"  
								               
								                 value='${zyRoomPage.exceptionReason}'>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">异常原因</label>
					</td>
			<td align="right">
				<label class="Validform_label">
				</label>
			</td>
			<td class="value">
			</td>
				</tr> --%>
		</table>
	</t:formvalid>
</body>
